﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
  <xsl:param name="id" select="0"/>
  <xsl:param name="masp" select="0"/>
  <xsl:template match="/">
    <table border="0" width="100%">
      <tr>
        <td colspan="2" style="font-size: xx-large">
          <xsl:value-of select="SanPham/LoaiSP[@id=$id]/yamaha[MaSP=$masp]/TenSP"/>
          <br/>
        </td>
      </tr>
      <tr>
        <td colspan="2">
          <xsl:variable name="hinh" select="SanPham/LoaiSP[@id=$id]/yamaha[MaSP=$masp]/Hinh"/>
          <img width="570" height="auto" src="{$hinh}"></img>
          
        </td>
      </tr>
      <tr>
        <td>
          <br/>
          <b style="color:#94070d">*** Tính Năng Nổi Bật:</b>
          <br/>
          <br/>
          <xsl:value-of select="SanPham/LoaiSP[@id=$id]/yamaha[MaSP=$masp]/DacTinh" disable-output-escaping="yes"/>
        </td>
      </tr>
    </table>
    </xsl:template>
</xsl:stylesheet>
